fixme hinzugefügt
This commit is contained in:
33
main.yml
33
main.yml
@@ -1,22 +1,23 @@
|
||||
---
|
||||
### Setup needs to be done if task is run from ansible-semaphore docker container
|
||||
- name: Install required Pip modules
|
||||
hosts: localhost
|
||||
tasks:
|
||||
- name: Install python-setup tools
|
||||
remote_user: root
|
||||
package:
|
||||
name:
|
||||
- python3-setuptools
|
||||
state: latest
|
||||
# FIXME NOT WORKING ON Semaphore in docker yet
|
||||
# - name: Install required Pip modules
|
||||
# hosts: localhost
|
||||
# tasks:
|
||||
# - name: Install python-setup tools
|
||||
# remote_user: semaphore
|
||||
# package:
|
||||
# name:
|
||||
# - python3-setuptools
|
||||
# state: latest
|
||||
|
||||
- name: Install proxmoxer and requests modules
|
||||
remote_user: root
|
||||
pip:
|
||||
name:
|
||||
- proxmoxer
|
||||
- requests
|
||||
state: present
|
||||
# - name: Install proxmoxer and requests modules
|
||||
# remote_user: semaphore
|
||||
# pip:
|
||||
# name:
|
||||
# - proxmoxer
|
||||
# - requests
|
||||
# state: present
|
||||
|
||||
- name: Create VM from template, update the ip and hardware, resize the disk,
|
||||
hosts: all
|
||||
|
||||
Reference in New Issue
Block a user