Browse Source

remove debuging plays

ca-cert-and-multi-ks
ePietry 2 years ago
parent
commit
6dad307377
  1. 16
      ansible/playbooks/ostree_construction.yaml

16
ansible/playbooks/ostree_construction.yaml

@ -10,14 +10,6 @@
cmd: composer-cli compose start-ostree kiosk edge-commit --url http://{{ ansible_default_ipv4.address }}/repo --ref "rhel/9/{{ ansible_architecture }}/edge-kiosk" --parent "rhel/9/{{ ansible_architecture }}/edge" | awk '{print $2}' cmd: composer-cli compose start-ostree kiosk edge-commit --url http://{{ ansible_default_ipv4.address }}/repo --ref "rhel/9/{{ ansible_architecture }}/edge-kiosk" --parent "rhel/9/{{ ansible_architecture }}/edge" | awk '{print $2}'
register: build_id register: build_id
- name: Echo BuildID for Microshift Installer
ansible.builtin.debug:
msg: "Build {{ build_id.stdout_lines | first }} is running..."
- name: Echo IPADRESS
ansible.builtin.debug:
msg: "{{ ansible_default_ipv4.address }}"
- name: Wait for compose to finish - name: Wait for compose to finish
infra.osbuild.wait_compose: infra.osbuild.wait_compose:
compose_id: "{{build_id.stdout_lines | first}}" compose_id: "{{build_id.stdout_lines | first}}"
@ -52,10 +44,10 @@
become: true become: true
ansible.builtin.shell: ostree --repo=/var/www/repo pull-local "/tmp/commit/{{ build_id.stdout_lines | first }}/repo" ansible.builtin.shell: ostree --repo=/var/www/repo pull-local "/tmp/commit/{{ build_id.stdout_lines | first }}/repo"
# - name: Clear /tmp/commit repo - name: Clear /tmp/commit repo
# ansible.builtin.file: ansible.builtin.file:
# path: /tmp/commit/ path: /tmp/commit/
# state: absent state: absent
- name: config ostree ref - name: config ostree ref
become: true become: true

Loading…
Cancel
Save