[TIDY] Move to ansible_facts dict instead of injected variables
This commit is contained in:
parent
d1c6d34a64
commit
1c734cefb1
15 changed files with 39 additions and 39 deletions
|
|
@ -13,8 +13,8 @@
|
|||
ansible.builtin.template:
|
||||
src: "{{ role_path }}/templates/ddns-hosts.sh"
|
||||
dest: /usr/local/bin/ddns-hosts.sh
|
||||
owner: "{{ ansible_user_id }}"
|
||||
group: "{{ ansible_user_id }}"
|
||||
owner: "{{ ansible_facts['user_id'] }}"
|
||||
group: "{{ ansible_facts['user_id'] }}"
|
||||
mode: "0775"
|
||||
- name: "Dyndns - Create cronjob for {{ ddns_zone }} dynDNS script"
|
||||
become: true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue