Added nfs mount, sshpass, and serialization to playbook
This commit is contained in:
@@ -29,12 +29,18 @@
|
||||
- ntp
|
||||
- mysql-client
|
||||
- wget
|
||||
- nfs-common
|
||||
- docker-ce={{docker_ce_version_to_install}}
|
||||
- sshpass
|
||||
|
||||
- name: Set git username
|
||||
become: yes
|
||||
become_user: cody
|
||||
shell: git config --global user.name "Jacob Cody Wimer"
|
||||
|
||||
- name: Set git email
|
||||
become: yes
|
||||
become_user: cody
|
||||
shell: git config --global user.email "jacob.wimer@gmail.com"
|
||||
|
||||
- name: Docker compose version
|
||||
@@ -58,6 +64,13 @@
|
||||
- name: Replace sudoers file
|
||||
template: src=../roles/common/templates/sudoers.j2 dest=/etc/sudoers
|
||||
|
||||
- name: Creates directory
|
||||
file: path=/data state=directory
|
||||
|
||||
- name: Mount data directory
|
||||
shell: mount 10.0.0.150:/volumeUSB1/usbshare/raw-files/fileserver/shares/lab-data/{{ ansible_hostname }} /data
|
||||
ignore_errors: yes
|
||||
|
||||
- name: test for swap partition
|
||||
shell: swapon -s | grep -E "^/"
|
||||
register: swapfile
|
||||
|
||||
Reference in New Issue
Block a user