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.
|
4 days ago | |
---|---|---|
.. | ||
inventories | 7 months ago | |
roles | 4 days ago | |
vms | 6 days ago | |
.ansible-lint | 1 year ago | |
.yamllint.yaml | 1 year ago | |
README.md | 9 months ago | |
ansible.cfg | 1 year ago | |
playbook.yaml | 9 months ago |
README.md
Ansible Configuration for kdwarn.dev
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.)