Compare commits
5 Commits
v0.0.7z-ps
...
v0.0.8c-cm
Author | SHA1 | Date | |
---|---|---|---|
3cd52a230e | |||
8dd65d65eb | |||
aac0f13134 | |||
ea60c89bf1 | |||
272867304a |
@ -5,7 +5,11 @@
|
||||
name: awx
|
||||
groups: sudo
|
||||
append: yes
|
||||
shell: /bin/bash
|
||||
|
||||
- name: Cration d'un mdp pour user awx
|
||||
user:
|
||||
name: awx
|
||||
password: '$5$1POIEvs/Q.DHI4/6$RT6nl42XkekxTPKA/dktbnCMxL8Rfk8GAK7NxqL9D70'
|
||||
|
||||
- name: Get awx key_pub
|
||||
get_url:
|
||||
|
@ -7,6 +7,12 @@
|
||||
shell: /bin/bash
|
||||
generate_ssh_key: yes
|
||||
|
||||
#- name: Creation mdp user awx
|
||||
# ansible.builtin.user:
|
||||
#name:
|
||||
#user: awx
|
||||
# password: '$5$1POIEvs/Q.DHI4/6$RT6nl42XkekxTPKA/dktbnCMxL8Rfk8GAK7NxqL9D70'
|
||||
|
||||
- name: Copie cle publique dans gsbstore
|
||||
copy:
|
||||
src: /home/awx/.ssh/id_rsa.pub
|
||||
|
@ -7,12 +7,12 @@
|
||||
roles:
|
||||
- base
|
||||
- s-ssh
|
||||
- zabbix-cli
|
||||
- dnsmasq
|
||||
- squid
|
||||
- ssh-backup-key-gen
|
||||
- awx-user
|
||||
# awx-user
|
||||
# - local-store
|
||||
# - zabbix-cli
|
||||
## - syslog-cli
|
||||
- post
|
||||
# - goss
|
||||
|
@ -6,7 +6,7 @@
|
||||
- base
|
||||
- goss
|
||||
- ssh-cli
|
||||
- awx-user
|
||||
- awx-user-cli
|
||||
#- awx
|
||||
# - zabbix-cli
|
||||
- journald-snd
|
||||
|
@ -11,7 +11,8 @@
|
||||
- dns-master
|
||||
- webautoconf
|
||||
# - elk-filebeat-cli
|
||||
# - journald-snd
|
||||
- journald-snd
|
||||
- ssh-cli
|
||||
- awx-user-cli
|
||||
- post
|
||||
|
||||
|
@ -30,8 +30,8 @@ $vmCpus = @{
|
||||
|
||||
function create_vm{ param([string]$nomvm)
|
||||
|
||||
if ($vmMem.ContainsKey($nomvm)) {
|
||||
& "$vboxmanage" import "$ovafile" --vsys 0 --vmname "$nomvm" --memory $vmMem[$nomvm] --cpus $vmCpus[$nomvm}
|
||||
if (($vmMem.ContainsKey($nomvm)) -and ($vmCpus.ContainsKey($nomvm))) {
|
||||
& "$vboxmanage" import "$ovafile" --vsys 0 --vmname "$nomvm" --memory $vmMem[$nomvm] --cpus $vmCpus[$nomvm]
|
||||
Write-Host "Machine $nomvm importée"
|
||||
} else {
|
||||
#Importation depuis l'ova
|
||||
|
Reference in New Issue
Block a user