integrated server-specific linux config
This commit is contained in:
parent
0bfa4071e5
commit
743e7e144a
1
main.yml
1
main.yml
@ -3,5 +3,4 @@
|
|||||||
become: true
|
become: true
|
||||||
tasks:
|
tasks:
|
||||||
- import_tasks: tasks/personal-linux-config.yml
|
- import_tasks: tasks/personal-linux-config.yml
|
||||||
- import_tasks: tasks/personal-linux-config-server.yml
|
|
||||||
- import_tasks: tasks/ssh-keys.yml
|
- import_tasks: tasks/ssh-keys.yml
|
||||||
|
@ -1,4 +0,0 @@
|
|||||||
---
|
|
||||||
- name: Ensure the server config changes are deployed
|
|
||||||
ansible.builtin.shell:
|
|
||||||
cmd: sh -c "cd /root/personal-linux-config; bash /root/personal-linux-config/deploy.sh"
|
|
@ -11,6 +11,7 @@
|
|||||||
repo: https://git.bjphoster.com/b.pedini/personal-linux-config
|
repo: https://git.bjphoster.com/b.pedini/personal-linux-config
|
||||||
clone: yes
|
clone: yes
|
||||||
update: yes
|
update: yes
|
||||||
|
force: yes
|
||||||
- name: Ensure the config changes are deployed
|
- name: Ensure the config changes are deployed
|
||||||
ansible.builtin.shell:
|
ansible.builtin.shell:
|
||||||
cmd: sh -c "cd /root/personal-linux-config; bash /root/personal-linux-config/deploy.sh"
|
cmd: sh -c "cd /root/personal-linux-config; bash /root/personal-linux-config/deploy.sh --server"
|
||||||
|
Loading…
Reference in New Issue
Block a user