mirror of
https://git.ecdf.ed.ac.uk/win_automation/windows-ansible.git
synced 2026-10-30 23:50:15 +00:00
Revert "adding bash_profile role to user creation"
This reverts commit b396588392
This commit is contained in:
1 parent
61c64e344f
commit
85135aabda
2 files changed
-17
No files matched your search
@@ -1,16 +0,0 @@
|
|||||||
- name: Create the .bash_profile file with specified content
|
|
||||||
win_file:
|
|
||||||
path: "C:\\Users\\{{ item }}\\.bash_profile"
|
|
||||||
state: file
|
|
||||||
content: |
|
|
||||||
eval "$('/C/tools/miniconda3/Scripts/conda.exe' 'shell.bash' 'hook')"
|
|
||||||
with_items:
|
|
||||||
- user1 # Replace with actual usernames
|
|
||||||
- user2 # Add more users as needed
|
|
||||||
|
|
||||||
- name: Ensure the .bash_profile file is hidden
|
|
||||||
win_shell: |
|
|
||||||
attrib +h "C:\\Users\\{{ item }}\\.bash_profile"
|
|
||||||
with_items:
|
|
||||||
- user1 # Replace with actual usernames
|
|
||||||
- user2 # Add more users as needed
|
|
||||||
@@ -1,4 +1,3 @@
|
|||||||
---
|
---
|
||||||
- import_tasks: assert.yml
|
- import_tasks: assert.yml
|
||||||
- import_tasks: "{{ user_action }}.yml"
|
- import_tasks: "{{ user_action }}.yml"
|
||||||
- import_tasks: bash_profile.yml
|
|
||||||
Reference in new issue
Block a user