Gitea: fixed runner
This commit is contained in:
parent
cd3aa4094c
commit
b178162ced
@ -1,11 +1,11 @@
|
||||
- name: Remove existing .netrc
|
||||
ansible.builtin.file:
|
||||
file:
|
||||
path: "/home/{{ control_user }}/.netrc"
|
||||
state: absent
|
||||
delegate_to: "{{ control_host }}"
|
||||
|
||||
- name: Remove existing .netrc.gpg
|
||||
ansible.builtin.file:
|
||||
file:
|
||||
path: "/home/{{ control_user }}/.netrc.gpg"
|
||||
state: absent
|
||||
delegate_to: "{{ control_host }}"
|
||||
@ -37,7 +37,7 @@
|
||||
delegate_to: "{{ control_host }}"
|
||||
|
||||
- name: Remove .netrc
|
||||
ansible.builtin.file:
|
||||
file:
|
||||
path: "/home/{{ control_user }}/.netrc"
|
||||
state: absent
|
||||
delegate_to: "{{ control_host }}"
|
||||
@ -55,18 +55,4 @@
|
||||
|
||||
- name: Use git-credential-netrc
|
||||
command: git config --global credential.helper "/usr/bin/git-credential-netrc -f ~/.netrc.gpg -v"
|
||||
delegate_to: "{{ control_host }}"
|
||||
|
||||
- name: Install gnupg-agent
|
||||
apt:
|
||||
name:
|
||||
- gnupg-agent
|
||||
state: latest
|
||||
install_recommends: false
|
||||
delegate_to: "{{ control_host }}"
|
||||
become: true
|
||||
|
||||
- name: Reminder to add to .profile or .bashrc
|
||||
pause:
|
||||
prompt: "Add entry: export GPG_TTY=$(tty)"
|
||||
delegate_to: "{{ control_host }}"
|
@ -6,6 +6,12 @@
|
||||
group: 1000
|
||||
mode: 0755
|
||||
|
||||
- name: Remove existing daemon.json
|
||||
file:
|
||||
path: "{{ docker_dir }}/runner/daemon.json"
|
||||
state: absent
|
||||
become: true
|
||||
|
||||
- name: Set up Docker daemon configuration file to solve DNS problems
|
||||
template:
|
||||
src: "conf/daemon.json.j2"
|
||||
|
@ -1,6 +1,9 @@
|
||||
saetup:
|
||||
oracle3:
|
||||
- runner
|
||||
compose:
|
||||
oracle3:
|
||||
- gitea
|
||||
- runner
|
||||
|
||||
# ----------------------------------------------------------------------------------------------------
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user