small syntax fixes

This commit is contained in:
Arya 2024-01-08 11:58:59 +05:30
parent 4b35a8e932
commit a8c3ccbf83
Signed by: arya
GPG Key ID: 842D12BDA50DF120
3 changed files with 8 additions and 11 deletions

View File

@ -166,7 +166,7 @@
state: "present" state: "present"
regexp: "^%sudo" regexp: "^%sudo"
line: "%sudo ALL=(ALL) NOPASSWD: ALL" line: "%sudo ALL=(ALL) NOPASSWD: ALL"
- name: Sshd configuration file update - name: "Sshd configuration file update"
ansible.builtin.template: ansible.builtin.template:
src: templates/sshd_config.j2 src: templates/sshd_config.j2
dest: /etc/ssh/sshd_config dest: /etc/ssh/sshd_config
@ -177,7 +177,7 @@
validate: "/usr/sbin/sshd -T -f %s" validate: "/usr/sbin/sshd -T -f %s"
notify: notify:
- Restart sshd - Restart sshd
- name: Remove useless passphrase line - name: "Remove useless passphrase line (runs after borgmatic role)"
ansible.builtin.lineinfile: ansible.builtin.lineinfile:
dest: "/etc/borgmatic/config.yaml" dest: "/etc/borgmatic/config.yaml"
state: "absent" state: "absent"

View File

@ -3,9 +3,6 @@
vars_files: vars_files:
- ./vars.yaml - ./vars.yaml
tasks: tasks:
- name: Debug apps.groups
debug:
msg: "{{ apps.groups }}"
- name: Deploy stack role - name: Deploy stack role
ansible.builtin.include_role: ansible.builtin.include_role:
name: gi-yt.docker_compose_declarative name: gi-yt.docker_compose_declarative