diff options
author | Romain Gonçalves <me@rgoncalves.se> | 2022-10-22 16:41:45 +0200 |
---|---|---|
committer | Romain Gonçalves <me@rgoncalves.se> | 2022-10-22 16:41:45 +0200 |
commit | 0df015e9b5c4aefd4245c94ee98021d2af80ed99 (patch) | |
tree | d9dbf4259500857daf41b627dbc2d116ba92dbc1 /roles/wireguard/tasks/configuration.yml | |
parent | 1cd2d31e0d5f81ce066121de78c0ed042fc3b6aa (diff) | |
download | rules-0df015e9b5c4aefd4245c94ee98021d2af80ed99.tar.gz |
lint: pass ansible-lint + yamllint
Diffstat (limited to 'roles/wireguard/tasks/configuration.yml')
-rw-r--r-- | roles/wireguard/tasks/configuration.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/wireguard/tasks/configuration.yml b/roles/wireguard/tasks/configuration.yml index efb8008..6925e2a 100644 --- a/roles/wireguard/tasks/configuration.yml +++ b/roles/wireguard/tasks/configuration.yml @@ -1,5 +1,5 @@ - name: generate wireguard configuration - template: + ansible.builtin.template: src: wireguard.conf.j2 dest: "{{ wireguard_local_dir }}/{{ item }}.conf" mode: 0600 @@ -10,7 +10,7 @@ loop: "{{ groups.all }}" - name: copy wireguard configuration - copy: + ansible.builtin.copy: src: "{{ wireguard_local_dir }}/{{ wireguard_local_configuration }}" dest: "{{ wireguard_dir }}/{{ wireguard_domain_controller }}.conf" owner: 0 |