/[pdpsoft]/trunk/egi-pilot/masterportal-pusp/ansible/basic-env.yml
ViewVC logotype

Contents of /trunk/egi-pilot/masterportal-pusp/ansible/basic-env.yml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2918 - (show annotations) (download) (as text)
Tue Mar 22 13:55:40 2016 UTC (6 years, 3 months ago) by msalle
File MIME type: text/x-yaml
File size: 1357 byte(s)
Fix typos: no tabs, need spaces, and fix indentation of explicit tasks

1 ---
2 - hosts: masterportal
3 remote_user: root
4 vars:
5 - igtfkey: "https://dl.igtf.net/distribution/igtf/current-new/GPG-KEY-EUGridPMA-RPM-3"
6 - igtf_current_baseurl: "http://dist.eugridpma.info/distribution/igtf/current-new/"
7 - epelrpm: "https://dl.fedoraproject.org/pub/epel/6/{{ ansible_architecture }}/epel-release-6-8.noarch.rpm"
8 - epelkey: "https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-6"
9 - ntp_servers:
10 - ntp1.server.com
11 - ntp2.server.com
12 - general_packages:
13 - libselinux-python
14 - net-tools
15 - bind-utils
16 - postfix
17 - mailx
18 - sysstat
19 - ntp
20 - iptables-services
21 - nscd
22 - fetch-crl
23 - ca_TERENA-eScience-SSL-CA-3
24 - disabled_services:
25 - firewalld
26 - NetworkManager
27 - wpa_supplicant
28 - enabled_services:
29 - ntpd
30 - iptables
31 - ip6tables
32 tasks:
33 - include: repos.yml
34 - include: general.yml
35 - include: hostcreds.yml
36 - include: access.yml
37
38 # list of disabled services
39
40 - name: disable services
41 service: name={{ item }} state=stopped enabled=no
42 with_items: "{{ disabled_services }}"
43
44 # list of enabled services
45
46 - name: enable services
47 service: name={{ item }} state=started enabled=yes
48 with_items: "{{ enabled_services }}"

grid.support@nikhef.nl
ViewVC Help
Powered by ViewVC 1.1.28