Skip to content

Instantly share code, notes, and snippets.

@robinsg
Last active October 30, 2020 15:40
Show Gist options
  • Save robinsg/38b941639eb7ca8235aa218c688e662a to your computer and use it in GitHub Desktop.
Save robinsg/38b941639eb7ca8235aa218c688e662a to your computer and use it in GitHub Desktop.
- - _
# tasks file for ../roles/files
- name: Copy files from the files folder to /tmp on the LPAR
copy:
src: "{{ item }}"
dest: "/tmp"
with_items: "{{ tmp_files }}"
tags:
- copy_files
- name: Copy files from the files folder to /etc/ on the LPAR
copy:
src: "{{ item }}"
dest: "/etc"
with_items: "{{ etc_files }}"
tags:
- copy_files
# Create the iocp0 device
- name: Create iocp0 device
shell: "odmadd /tmp/iocp.add"
tags:
- copy_files
- - _
# vars file for ../roles/files
tmp_files:
- "iocp.add"
etc_files:
- "sudoers"
- "profile"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment