aboutsummaryrefslogtreecommitdiffstats
path: root/roles/znc/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/znc/tasks/main.yml')
-rw-r--r--roles/znc/tasks/main.yml10
1 files changed, 5 insertions, 5 deletions
diff --git a/roles/znc/tasks/main.yml b/roles/znc/tasks/main.yml
index a1ccf3d..62ec909 100644
--- a/roles/znc/tasks/main.yml
+++ b/roles/znc/tasks/main.yml
@@ -1,22 +1,22 @@
- name: install znc
- package:
+ ansible.builtin.package:
name: znc
state: present
- name: create znc group
- group:
+ ansible.builtin.group:
name: "{{ znc_group }}"
state: present
- name: create znc user
- user:
+ ansible.builtin.user:
name: "{{ znc_user }}"
group: "{{ znc_group }}"
system: true
create_home: true
- name: generate and enable znc service
- include_role:
+ ansible.builtin.include_role:
name: rc
vars:
rc_cmd: /usr/local/bin/znc
@@ -24,7 +24,7 @@
rc_name: znc
- name: enable and start znc
- service:
+ ansible.builtin.service:
name: znc
state: restarted
enabled: true
remember that computers suck.