🎨 Fix imports in Ansible Galaxy

This commit is contained in:
Emilien Mantel
2025-06-02 13:07:38 +02:00
parent bf37be22f7
commit da4e9dfc4f
11 changed files with 27 additions and 27 deletions

View File

@@ -73,7 +73,7 @@
ansible.builtin.file:
path: "{{ int_ansible_ssl_dir }}"
state: directory
mode: 0750
mode: "0750"
owner: root
group: root
@@ -81,7 +81,7 @@
ansible.builtin.copy:
src: "file/{{ item }}"
dest: "{{ int_ansible_ssl_dir }}/{{ item }}"
mode: 0640
mode: "0640"
owner: root
group: root
loop:
@@ -103,7 +103,7 @@
{% endif %}
{% endfor %}
dest: "/etc/hosts"
mode: 0644
mode: "0644"
owner: root
group: root
unsafe_writes: true

View File

@@ -13,7 +13,7 @@
ansible.builtin.copy:
dest: "{{ nginx_root }}/{{ item }}/public/index.php"
content: "<?php phpinfo();"
mode: 0644
mode: "0644"
owner: root
group: root
loop:
@@ -25,7 +25,7 @@
ansible.builtin.file:
path: "{{ item }}"
state: directory
mode: 0755
mode: "0755"
loop:
- "{{ nginx_root }}/test-htpasswd.local/public/hello"
- "/tmp/custom-template"
@@ -34,7 +34,7 @@
ansible.builtin.copy:
dest: "{{ item }}/index.html"
content: "Index HTML test OK\n"
mode: 0644
mode: "0644"
owner: root
group: root
loop:
@@ -50,7 +50,7 @@
ansible.builtin.file:
path: "{{ nginx_root }}/test-htpasswd.local/public/hello"
state: directory
mode: 0755
mode: "0755"
owner: root
group: root
@@ -58,7 +58,7 @@
ansible.builtin.copy:
dest: "{{ nginx_root }}/test-htpasswd.local/public/hello/index.html"
content: "hello\n"
mode: 0644
mode: "0644"
owner: root
group: root