aboutsummaryrefslogtreecommitdiffstats
path: root/roles/znc
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2022-10-22 16:41:45 +0200
committerRomain Gonçalves <me@rgoncalves.se>2022-10-22 16:41:45 +0200
commit0df015e9b5c4aefd4245c94ee98021d2af80ed99 (patch)
treed9dbf4259500857daf41b627dbc2d116ba92dbc1 /roles/znc
parent1cd2d31e0d5f81ce066121de78c0ed042fc3b6aa (diff)
downloadrules-0df015e9b5c4aefd4245c94ee98021d2af80ed99.tar.gz
lint: pass ansible-lint + yamllint
Diffstat (limited to 'roles/znc')
-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.