main.yaml 567 B

1234567891011121314151617181920212223242526
  1. ---
  2. # basic role, configures irbrc, vimrc
  3. - name: Ensure irbrc is installed for user root
  4. copy: >
  5. src=irbrc
  6. dest=/root/.irbrc
  7. - name: Ensure vimrc is installed for user root
  8. copy: >
  9. src=vimrc
  10. dest=/root/.vimrc
  11. - name: Ensure vimrc is installed for user root
  12. copy: >
  13. src=vimrc
  14. dest=/root/.vimrc
  15. - name: Install firewalld
  16. yum: pkg=firewalld state=installed
  17. - name: enable firewalld service
  18. command: /usr/bin/systemctl enable firewalld.service
  19. - name: start firewalld service
  20. command: /usr/bin/systemctl start firewalld.service