fixing spelling errors

This commit is contained in:
nazunalika 2020-12-18 01:17:53 -07:00
parent 239ae1a025
commit c0c8ea1ec6
5 changed files with 33 additions and 26 deletions

View File

@ -3,9 +3,13 @@
- name: Install and Provision Gitlab - name: Install and Provision Gitlab
hosts: gitlabservers hosts: gitlabservers
become: true become: true
vars_file: vars_files:
- vars/gitlab.yml - vars/gitlab.yml
# This is to try to avoid the handler issue in pre/post tasks
handlers:
- import_tasks: handlers/main.yml
pre_tasks: pre_tasks:
- name: Check if ansible cannot be run here - name: Check if ansible cannot be run here
stat: stat:

View File

@ -29,6 +29,7 @@
owner: root owner: root
group: root group: root
mode: '0644' mode: '0644'
remote_src: true
when: gitlab_create_self_signed_cert when: gitlab_create_self_signed_cert
- name: Copy self-signed certificate key - name: Copy self-signed certificate key
@ -38,12 +39,13 @@
owner: root owner: root
group: root group: root
mode: '0644' mode: '0644'
remote_src: true
when: gitlab_create_self_signed_cert when: gitlab_create_self_signed_cert
- name: Symlink the IPA CA - name: Symlink the IPA CA
file: file:
src: "/etc/ipa/ca.crt" src: "/etc/ipa/ca.crt"
dest: "/etc/gitlab/trusted_certs/ca.crt" dest: "/etc/gitlab/trusted-certs/ipa-ca.crt"
owner: root owner: root
group: root group: root
state: link state: link

View File

@ -1,5 +1,5 @@
# MANAGED BY ANSIBLE # MANAGED BY ANSIBLE
# Hostname: {{ inventory_host }} # Hostname: {{ ansible_fqdn }}
user nginx; user nginx;
worker_processes auto; worker_processes auto;
error_log /var/log/nginx/error.log; error_log /var/log/nginx/error.log;

View File

@ -8,6 +8,7 @@ roles:
- name: rockylinux.ipsilon - name: rockylinux.ipsilon
src: https://github.com/rocky-linux/ansible-role-ipsilon src: https://github.com/rocky-linux/ansible-role-ipsilon
version: main version: main
- name: geerlingguy.gitlab
collections: collections:
# freeipa # freeipa