- artifacts are assets generated by Ansible, not under version control
- files are static assets under version control
*.retry
.*.sw?
/.cache/
-/files/*/openwrt/
+/artifacts
---
# Build-related directories
+global_artifacts_dir: "{{ inventory_dir }}/artifacts"
global_cache_dir: "{{ inventory_dir }}/.cache"
-global_artifacts_dir: "{{ inventory_dir }}/files"
+
+# Directory for static assets
+global_files_dir: "{{ inventory_dir }}/files"
# Default credentials
## Root password; by default, undefined
/usr/local/bin/authorized_keys.sh:
mode: '0755'
- file: "{{ global_artifacts_dir }}/{{ inventory_hostname }}/authorized_keys.sh"
+ file: "{{ global_files_dir }}/{{ inventory_hostname }}/authorized_keys.sh"
/usr/local/bin/update-keys-from-stdin.sh:
mode: '0755'
- file: "{{ global_artifacts_dir }}/{{ inventory_hostname }}/update-keys-from-stdin.sh"
+ file: "{{ global_files_dir }}/{{ inventory_hostname }}/update-keys-from-stdin.sh"
/etc/ssh/sshd_config:
content: |