You've already forked ansible-role-common
Remove Drone configuration
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
- include_tasks: networking.yml
|
||||
|
||||
- name: Ensure common packages (RHEL)
|
||||
yum:
|
||||
yum:
|
||||
name: "{{ common_packages }}"
|
||||
state: present
|
||||
enablerepo: epel
|
||||
@@ -17,7 +17,7 @@
|
||||
enablerepo: ol7_developer_EPEL
|
||||
when: ansible_distribution == 'OracleLinux'
|
||||
tags: packages
|
||||
|
||||
|
||||
- name: Check if SELinux is installed
|
||||
stat:
|
||||
path: /etc/selinux/config
|
||||
@@ -59,15 +59,15 @@
|
||||
dest: /usr/local/bin/reload_scsi_hosts
|
||||
loop_control:
|
||||
loop_var: helpers
|
||||
|
||||
|
||||
- name: Ensure Hostname is set
|
||||
hostname:
|
||||
hostname:
|
||||
name: "{{ inventory_hostname }}.{{ domain }}"
|
||||
when: ansible_virtualization_type != "docker"
|
||||
|
||||
|
||||
- name: Change root password
|
||||
user:
|
||||
name: root
|
||||
user:
|
||||
name: root
|
||||
password: "{{ common_root_pwd | password_hash('sha512') }}"
|
||||
changed_when: false
|
||||
tags: rootpw
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
no_extra_spaces: yes
|
||||
when: "ansible_os_family == 'RedHat' and ansible_distribution_major_version > '6'"
|
||||
notify:
|
||||
- Check if grub.cfg exists
|
||||
- Check if grub.cfg exists
|
||||
- Update GRUB
|
||||
tags:
|
||||
- grub
|
||||
- grub
|
||||
|
||||
Reference in New Issue
Block a user