Remove crappy ansible freeipa role playbooks

The ansible-freeipa role REALLY SUCKS, please
dont ever think to use it again!!
This commit is contained in:
Iván Chavero 2022-05-23 23:52:59 -06:00
parent 5024233038
commit c02b1976c5
4 changed files with 0 additions and 92 deletions

View file

@ -1,9 +0,0 @@
# FreeIPA
FreeIPA Ansible installation
## Ansible
```
$ ansible-playbook -i inventory.yaml freeipa.yaml --ask-become-pass
```

View file

@ -1,59 +0,0 @@
---
#- hosts: localhost
# pre_tasks:
# - name: Install FreeIPA roles
# action: package name=ansible-freeipa state=present
# become: true
- hosts: ipaserver
pre_tasks:
- name: Set a hostname to identity
ansible.builtin.hostname:
name: idm.lab.ugd.gob.mx
# IPv6 se encuentra deshabilitado en los CentOS de presidencia
# se tiene que habilitar en este playbook ya que el ansible freeipa
# lo necesita habilitado.
- name: Enable IPv6
sysctl:
name: net.ipv6.conf.all.disable_ipv6
value: '0'
sysctl_set: yes
state: present
reload: yes
become: yes
become_user: root
roles:
- role: ipaserver
state: present
become: yes
become_user: root
tasks:
- name: Start service httpd, if not started
service:
name: httpd
state: restarted
enabled: yes
- name: Open HTTPS port
firewalld:
service: https
permanent: yes
immediate: true
state: enabled
- name: Open LDAP port
firewalld:
service: freeipa-ldap
permanent: yes
immediate: true
state: enabled
- name: Open LDAPS port
firewalld:
service: freeipa-ldaps
permanent: yes
immediate: true
state: enabled

View file

@ -1,13 +0,0 @@
[ipaserver]
idm.lab.ugd.gob.mx ansible_user=ruth
[ipaserver:vars]
ipaserver_ip_addresses="10.16.27.70"
ipaserver_domain=lab.ugd.gob.mx
ipaserver_realm="LAB.UGD.GOB.MX"
ipaserver_setup_dns=yes
ipaserver_master_password="prueba123!"
ipaserver_auto_forwarders=yes
ipaadmin_password="prueba123!"
ipadm_password="prueba123!"
ipaserver_setup_firewalld=yes

View file

@ -1,11 +0,0 @@
[ipaserver]
identity.soho.chavero.com.mx ansible_user=root
[ipaserver:vars]
ipaserver_ip_addresses=192.168.1.116
ipaserver_domain=soho.chavero.com.mx
ipaserver_realm=CHAVERO.COM.MX
ipaserver_setup_dns=yes
ipaserver_auto_forwarders=yes
ipaadmin_password=prueba123
ipadm_password=prueba123