Compare commits
3 commits
main
...
fix-ansibl
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bf1995b532 | ||
|
|
522d95694b | ||
|
|
4c630b5860 |
1 changed files with 3 additions and 1 deletions
|
|
@ -63,13 +63,15 @@ provisioners:
|
||||||
type: shell
|
type: shell
|
||||||
- inline:
|
- inline:
|
||||||
- apt-get -y install openssh-server python lsb-release
|
- apt-get -y install openssh-server python lsb-release
|
||||||
|
- mkdir -p /root/.ansible/tmp
|
||||||
type: shell
|
type: shell
|
||||||
- playbook_file: ansible/playbook.yml
|
- playbook_file: ansible/playbook.yml
|
||||||
type: ansible
|
type: ansible
|
||||||
user: root
|
user: "{{user `ssh_user`}}"
|
||||||
ansible_env_vars:
|
ansible_env_vars:
|
||||||
- "ANSIBLE_SSH_ARGS='-o HostkeyAlgorithms=+ssh-rsa -o PubkeyAcceptedAlgorithms=+ssh-rsa'"
|
- "ANSIBLE_SSH_ARGS='-o HostkeyAlgorithms=+ssh-rsa -o PubkeyAcceptedAlgorithms=+ssh-rsa'"
|
||||||
- "ANSIBLE_PYTHON_INTERPRETER=/usr/bin/python3"
|
- "ANSIBLE_PYTHON_INTERPRETER=/usr/bin/python3"
|
||||||
|
- "ANSIBLE_VERBOSITY=4"
|
||||||
- inline:
|
- inline:
|
||||||
- rm /boot && mkdir /boot
|
- rm /boot && mkdir /boot
|
||||||
type: shell
|
type: shell
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue