Sha256: c798091478a1b13c798cb9e54f3c3f28043d325ea10cb315a1ee6864edae4cb1

Contents?: true

Size: 743 Bytes

Versions: 1

Compression:

Stored size: 743 Bytes

Contents

---
- name: ensure all servers are commonly configured without sudo
  hosts: all:!localhost
  sudo: false

  tasks:
    - name: ensure IP address of the ansible controller is set
      set_fact:
        ansible_controller: '{{ ansible_env.SSH_CLIENT.split(" ") | first }}/32'
      when: (ansible_controller is undefined and ansible_connection != "local")
      tags: [common, ferm]


- name: ensure all servers are commonly configured with sudo
  hosts: all
  sudo: true

  roles:
    - { role: nickjj.locale, tags: [common, locale] }
    - { role: nickjj.sshd, tags: [common, sshd] }
    - { role: nickjj.ferm, tags: [common, ferm] }
    - { role: nickjj.fail2ban, tags: [common, fail2ban] }
    - { role: nickjj.user, tags: [common, user] }

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
orats-0.7.3 lib/orats/templates/includes/playbook/common.yml