您最多选择25个主题
主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
此仓库已存档。您可以查看文件和克隆,但不能推送或创建工单/合并请求。
|
- ---
-
- - name: fish package
- package:
- name: fish
-
- - name: fish config directory
- file:
- path: /root/.config/fish/conf.d/
- state: directory
-
- - name: fish config files
- template:
- src: "{{ item }}.fish.j2"
- dest: /root/.config/fish/conf.d/{{ item }}.fish
- with_items:
- - root-shell-aliases
-
- - name: fish shell
- user:
- name: root
- shell: /usr/bin/fish
-
- - name: ssh key
- user:
- name: root
- generate_ssh_key: yes
- ssh_key_type: ed25519
- when: root_ssh_key
-
- - name: password
- user:
- name: root
- password: "{{ root_password }}"
- when: root_password is defined
-
- - file:
- path: /root/.config/fish/conf.d/title.fish
- state: absent
|