25개 이상의 토픽을 선택하실 수 없습니다.
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
|
- ---
-
- - 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
|