first commit

This commit is contained in:
root
2024-07-12 12:58:40 +02:00
commit 30fdad3be5
557 changed files with 11142 additions and 0 deletions

27
linux_onboard.yml Normal file
View File

@@ -0,0 +1,27 @@
---
- name: dynamically add ip of target
become: true
hosts: localhost
gather_facts: no
tasks:
- name: make host group from survey hosts list
add_host:
hostname: "{{ipaddr|trim}}"
groups: new_group
- name: linux Onboard
become: true
# become_method: runas
hosts: new_group,!localhost
roles:
# - role: linux_update
- role: linux_onboard-adagility
vars:
ansible_user: "{{user}}"
ansible_ssh_pass: "{{pass}}"
ansible_become_pass: "{{pass}}"
admin_account: "{{ admin_acc }}"
admin_password: "{{ admin_pass }}"
hostname: "{{ host }}"
tstaccprd: "{{ stage }}"