Remove anything related to zsh
All checks were successful
Run ansible-lint / Perform Ansible Lint (push) Successful in 1m45s
All checks were successful
Run ansible-lint / Perform Ansible Lint (push) Successful in 1m45s
This commit is contained in:
@@ -14,16 +14,11 @@
|
||||
validate: visudo -cf %s
|
||||
become: true
|
||||
|
||||
- name: Check if zsh is installed
|
||||
ansible.builtin.stat:
|
||||
path: /bin/zsh
|
||||
register: access_zsh_installed
|
||||
|
||||
- name: Create accounts
|
||||
ansible.builtin.user:
|
||||
name: '{{ item.key }}'
|
||||
password: ''
|
||||
shell: '{{ "/bin/zsh" if access_zsh_installed.stat.exists else "/bin/bash" }}'
|
||||
shell: '/bin/bash'
|
||||
group: admin
|
||||
generate_ssh_key: false
|
||||
state: present
|
||||
|
||||
@@ -27,23 +27,3 @@ docker_packages: # noqa var-naming[no-role-prefix]
|
||||
- docker-ce-cli
|
||||
- containerd.io
|
||||
- docker-compose-plugin
|
||||
|
||||
zsh_packages: # noqa var-naming[no-role-prefix]
|
||||
- zsh
|
||||
- ruby
|
||||
- ruby-dev
|
||||
- libz-dev
|
||||
- libiconv-hook1
|
||||
- libiconv-hook-dev
|
||||
- zlib1g-dev
|
||||
- fzf
|
||||
|
||||
zsh_extensions: # noqa var-naming[no-role-prefix]
|
||||
- repo: https://github.com/zsh-users/zsh-syntax-highlighting.git
|
||||
dest: ~/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting
|
||||
- repo: https://github.com/junegunn/fzf.git
|
||||
dest: ~/.fzf
|
||||
- repo: https://github.com/zsh-users/zsh-autosuggestions.git
|
||||
dest: ~/.oh-my-zsh/custom/plugins/zsh-autosuggestions
|
||||
- repo: https://github.com/romkatv/powerlevel10k.git
|
||||
dest: ~/.oh-my-zsh/custom/themes/powerlevel10k
|
||||
|
||||
@@ -1,14 +1,4 @@
|
||||
---
|
||||
- name: Login to custom docker registry
|
||||
community.docker.docker_login:
|
||||
registry_url: '{{ custom_docker_registry.server_address }}'
|
||||
username: '{{ custom_docker_registry.username }}'
|
||||
password: '{{ custom_docker_registry.password }}'
|
||||
become: true
|
||||
become_user: '{{ item.key }}'
|
||||
loop: '{{ access.admin | dict2items }}'
|
||||
when: custom_docker_registry is defined
|
||||
|
||||
- name: Deploy Docker containers
|
||||
ansible.builtin.include_tasks: container.yml
|
||||
loop: '{{ docker_containers }}'
|
||||
|
||||
Reference in New Issue
Block a user