forked from aixoss/ansible-playbooks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplaybook_aix_suma_nim.yml
39 lines (30 loc) · 1004 Bytes
/
playbook_aix_suma_nim.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
---
- name: "SUMA/NIM on AIX playbook"
hosts: all
gather_facts: no
vars:
target_list: quimby0[7:9]
tasks:
#######################################################################
### SUMA on AIX
#######################################################################
- name: "AIX SUMA"
aix_suma:
oslevel: 'latest'
targets: "{{ target_list }}"
location: '/export/extra/lpp_source'
action: download
description: 'Download latest'
register: suma_res
- debug: var=suma_res
#######################################################################
### NIM install on AIX
#######################################################################
- name: "AIX NIM"
aix_nim:
action: 'update'
targets: "{{ suma_res.target_list }}"
lpp_source: "{{ suma_res.lpp_source_name }}"
description: 'NIM update latest'
register: nim_res
- debug: var=nim_res.nim_output