Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion e2e/fixtures/deploy_control_plane.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
file:
path: /data/control-plane
state: directory
owner: '{{ ansible_env.SUDO_USER }}'
owner: '{{ ansible_facts.env.SUDO_USER }}'

- name: Build and deploy control-plane
hosts: "{{ hostvars['localhost'].first_manager_host }}"
Expand Down
2 changes: 1 addition & 1 deletion e2e/fixtures/roles/ec2_deploy/tasks/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# Get the current region using the default credential chain
- name: Get current region
ansible.builtin.command: |
{{ ansible_playbook_python | default(ansible_python.executable) }}
{{ ansible_playbook_python | default(ansible_facts.python.executable) }}
-c "import boto3; print(boto3.session.Session().region_name or '')"
register: boto3_region
changed_when: false
Expand Down
2 changes: 1 addition & 1 deletion e2e/fixtures/roles/install_prerequisites/tasks/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
dest: /etc/systemd/system/docker.socket.d/override.conf
content: |
[Socket]
SocketUser={{ ansible_env.SUDO_USER }}
SocketUser={{ ansible_facts.env.SUDO_USER }}
- name: Start and enable Docker
systemd_service:
name: docker
Expand Down
4 changes: 2 additions & 2 deletions e2e/fixtures/setup_new_host.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@
add_host:
name: "{{ target_host }}"
groups: new_host
ansible_ssh_common_args: "-F {{ ansible_env.HOME }}/.lima/{{ target_host }}/ssh.config"
ansible_ssh_common_args: "-F {{ ansible_facts.env.HOME }}/.lima/{{ target_host }}/ssh.config"
ansible_host: "lima-{{ target_host }}"
when: provider == 'lima'

- name: Wait for SSH to be available
command: ssh -F {{ ansible_env.HOME }}/.lima/{{ target_host }}/ssh.config lima-{{ target_host }} echo ok
command: ssh -F {{ ansible_facts.env.HOME }}/.lima/{{ target_host }}/ssh.config lima-{{ target_host }} echo ok
register: ssh_result
until: ssh_result.rc == 0
retries: 24
Expand Down
2 changes: 1 addition & 1 deletion e2e/fixtures/teardown_control_plane.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
file:
path: /data/control-plane
state: absent
owner: '{{ ansible_env.SUDO_USER }}'
owner: '{{ ansible_facts.env.SUDO_USER }}'

- name: Remove S3 repository data
hosts: "{{ hostvars['localhost'].first_manager_host }}"
Expand Down
4 changes: 2 additions & 2 deletions lima/roles/install_prerequisites/vars/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ _arch_transform:
aarch64: arm64
arm64: arm64
etcd_version: v3.6.5
etcd_archive_name: etcd-{{ etcd_version }}-linux-{{ _arch_transform[ansible_architecture] }}
etcd_archive_name: etcd-{{ etcd_version }}-linux-{{ _arch_transform[ansible_facts.architecture] }}
etcd_download_url: https://github.com/etcd-io/etcd/releases/download/{{ etcd_version }}/{{ etcd_archive_name }}.tar.gz
go_version: 1.25.5
go_archive_name: go{{ go_version }}.linux-{{ _arch_transform[ansible_architecture] }}.tar.gz
go_archive_name: go{{ go_version }}.linux-{{ _arch_transform[ansible_facts.architecture] }}.tar.gz
go_download_url: https://dl.google.com/go/{{ go_archive_name }}