20 lines
319 B
Bash
20 lines
319 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
|
||
|
ansible live \
|
||
|
-m ansible.builtin.ping \
|
||
|
-i ./ansible/inventory
|
||
|
|
||
|
ansible live \
|
||
|
-m ansible.builtin.apt \
|
||
|
-f 10 \
|
||
|
-a "update_cache=yes upgrade=safe" \
|
||
|
-i ./ansible/inventory/
|
||
|
|
||
|
|
||
|
ansible live \
|
||
|
-m ansible.builtin.apt \
|
||
|
-f 10 \
|
||
|
-a "name=nginx,git,curl,wget,vim,zip,nginx" \
|
||
|
-i ./ansible/inventory/
|