diff options
author | Romain Gonçalves <me@rgoncalves.se> | 2022-12-12 22:15:01 +0100 |
---|---|---|
committer | Romain Gonçalves <me@rgoncalves.se> | 2022-12-12 22:15:01 +0100 |
commit | db698b595e7ff088c96d00ef5285a0d634aff1be (patch) | |
tree | 4ec4242098a774e0de7ae1a4637b45b949e4ecce /roles/nfsclient/tasks | |
parent | ee3e324680a15d59429b1a2a0615fe787d169068 (diff) | |
download | rules-db698b595e7ff088c96d00ef5285a0d634aff1be.tar.gz |
refactor: pass ansible-lint with yaml header
Diffstat (limited to 'roles/nfsclient/tasks')
-rw-r--r-- | roles/nfsclient/tasks/main.yml | 2 | ||||
-rw-r--r-- | roles/nfsclient/tasks/os_alpine.yml | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/roles/nfsclient/tasks/main.yml b/roles/nfsclient/tasks/main.yml index 205a7fa..9f717f4 100644 --- a/roles/nfsclient/tasks/main.yml +++ b/roles/nfsclient/tasks/main.yml @@ -1,3 +1,5 @@ +--- + - name: translate server string to server dict ansible.builtin.set_fact: nfsclient_server_ip: "{{ hostvars[nfsclient_server].__ip.external }}" diff --git a/roles/nfsclient/tasks/os_alpine.yml b/roles/nfsclient/tasks/os_alpine.yml index 73aebe8..1199dc8 100644 --- a/roles/nfsclient/tasks/os_alpine.yml +++ b/roles/nfsclient/tasks/os_alpine.yml @@ -1,3 +1,5 @@ +--- + - name: install nfs-utils ansible.builtin.package: name: nfs-utils |