You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Kris Warner 34b43da5a3
Convert from Dioux to Zola
4 days ago
inventories Fix user variable name 7 months ago
roles Convert from Dioux to Zola 4 days ago
vms Update to Debian 11 on vm 6 days ago
.ansible-lint Update hardening and nginx roles, mostly 1 year ago
.yamllint.yaml Add ansible project 1 year ago Update readmes 9 months ago
ansible.cfg Add ansible project 1 year ago
playbook.yaml Deploy rust version of site with Ansible 9 months ago

Ansible Configuration for

For local/development, whether the initial setup or the 50th, just run ansible-playbook playbook.yaml. There's no need to specify the local inventory as it's in the ansible.cfg file. And the inventory file specifies the user.

For remote/production, the inventory will need to be included: ansible-playbook playbook.yaml -i inventories/digitalocean.yaml. For the initial setup, -u root will need to be included, as the regular user will not have been created yet. After that, no need to include user, as it's in the inventory file. (This depends on the user's ssh key being added as root when the server is provisioned.)