-
Create
venv
and installansbile
and requirementscd ansible python3 -m venv ansible-env source ansible-env/bin/activate python3 -m pip install --upgrade pip python3 -m pip install ansible python3 -m pip install yandexcloud
-
Check everything installed correctly
which ansible python3 -m pip list | grep ansible
-
Install necessary roles
ansible-galaxy role install geerlingguy.docker ansible-galaxy install nginxinc.nginx
-
Check inventories are identified correctly
ansible-inventory --list
-
Install
docker
on hostsansible-playbook playbooks/dev/docker/main.yml
-
Install
nginx
on hostsansible-playbook playbooks/dev/nginx/main.yml
-
Deactivate
venv
deactivate
-
Next time you can just activate this saved
venv
with no need to create it and install requirements:cd ansible source ansible-env/bin/activate
-
Notifications
You must be signed in to change notification settings - Fork 0
art22m/jago-rent-gadget
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published