mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-23 14:41:00 -05:00
e6cf8d3845
* Move tests to the test directory * Fix linting errors * Add states back * Add xml back
33 lines
864 B
YAML
33 lines
864 B
YAML
---
|
|
- name: GHE Config apply
|
|
######################
|
|
# Set the tags block #
|
|
######################
|
|
tags:
|
|
- github
|
|
- ghe_primary
|
|
- initialize
|
|
|
|
block:
|
|
########################################
|
|
# Copy the script to the local machine #
|
|
########################################
|
|
- name: Copy the script to the GHE instance
|
|
become: true
|
|
ansible.builtin.template:
|
|
force: 'yes'
|
|
src: "ghe-config-apply.sh"
|
|
dest: /tmp/ghe-config-apply.sh
|
|
owner: admin
|
|
group: admin
|
|
mode: 0755
|
|
|
|
##################################
|
|
# Run config to take in settings #
|
|
##################################
|
|
- name: Run ghe-config-apply for Settings to Take Effect
|
|
ansible.builtin.shell: "nohup ./tmp/ghe-config-apply.sh </dev/null >/dev/null 2>&1 &"
|
|
async: 300
|
|
poll: 0
|
|
args:
|
|
executable: "/bin/bash"
|