Commit graph

7 commits

Author SHA1 Message Date
Dan Guido
671135a6f4
Apply ansible-lint improvements (#14775)
* Apply ansible-lint improvements with light touch

- Fix syntax errors in playbooks by properly structuring them
- Fix YAML indentation in cloud-init base.yml
- Update ansible-lint configuration to be stricter but reasonable
- Add requirements.yml for Ansible collections
- Skip role-name rule for now due to many cloud-* roles

* Fix playbook syntax errors - proper task-only structure

- Reverted playbook structure since these files are imported as tasks
- Fixed indentation issues throughout cloud-pre.yml and cloud-post.yml
- Aligned module parameters and when clauses properly
- Removed FQCN for now to keep changes minimal

* Fix final YAML indentation and formatting issues

- Fixed cloud-post.yml indentation (8 spaces to 4)
- Added newline at end of requirements.yml
- All syntax checks now pass
2025-08-03 01:33:15 -04:00
David Myers
a924381e9e
Fix Vultr (#14389) 2021-12-23 21:25:36 +03:00
David Myers
654809f126
Explicitly set SSH permissions in base.sh (#1927) 2021-01-05 22:22:45 +03:00
Jack Ivanov
5fc738ba8b
Revert "Refactor cloud-init/base.sh (#1797)" (#1856)
This reverts commit f0d0e91be0.
2020-08-04 20:34:06 +03:00
djds
f0d0e91be0
Refactor cloud-init/base.sh (#1797)
* Refactor cloud-init/base.sh

* Pass shellcheck
* Use variable for username
* Fix issues with umask and sudo
* Simplify until loops

* Use literal algo for filename in /etc/sudoers.d/10-algo-user
2020-08-03 11:36:18 -04:00
Jack Ivanov
24574a3205
apt locking fixes (#1685) 2020-01-15 21:27:29 +01:00
Jack Ivanov
d635c76b50
Change default SSH port and introduce cloud-init support (#1636)
* Change default SSH port

* Iptables to ansible_ssh_port

* Add Scaleway

* permissions and groups fixes

* update firewall docs

* SSH fixes

* add missing cloudinit to cloud-azure

* remove ansible_ssh_user from the tests

* congrats message fix
2020-01-07 14:28:19 +01:00