mirror of
https://git.ecdf.ed.ac.uk/win_automation/windows-ansible.git
synced 2026-10-28 02:37:21 +00:00
14 lines
364 B
YAML
14 lines
364 B
YAML
---
|
|
- name: Swap to domain Administrator
|
|
tags:
|
|
- join_clients
|
|
- change_username
|
|
vars:
|
|
ansible_connection: local
|
|
lineinfile:
|
|
path: /deployments/{{ os_project }}-{{ win_project }}/ansible/vars/connection.yml
|
|
regexp: '^ansible_user:'
|
|
line: 'ansible_user: {{ win_project|upper }}\Administrator'
|
|
delegate_to: localhost
|
|
run_once: True
|