123456789101112131415161718192021222324252627282930313233 |
- ---
- # basic role, configures irbrc, vimrc
- - name: Ensure irbrc is installed for user root
- copy:
- src: irbrc
- dest: /root/.irbrc
- - name: Ensure vimrc is installed for user root
- copy:
- src: vimrc
- dest: /root/.vimrc
- - name: Bash Completion
- yum:
- pkg: bash-completion
- state: installed
- - name: Install firewalld
- yum:
- pkg: firewalld
- state: installed
- - name: start and enable firewalld service
- service:
- name: firewalld
- state: started
- enabled: yes
- register: result
- - name: need to pause here, otherwise the firewalld service starting can sometimes cause ssh to fail
- pause: seconds=10
- when: result | changed
|