Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ansible script to install nwg-displays on debian #65

Open
ronsmits opened this issue Aug 24, 2024 · 3 comments
Open

ansible script to install nwg-displays on debian #65

ronsmits opened this issue Aug 24, 2024 · 3 comments

Comments

@ronsmits
Copy link

ronsmits commented Aug 24, 2024

The following expects sway already installed (apt install -y sway), then with ansible playbook run this playbook:

- hosts: localhost
  become: yes

  pre_tasks:
  - name: upgrade OS
    apt:
      upgrade: yes
      update_cache: yes
    changed_when: False

  tasks:
    - name: install needed packages
      apt:
        name: "{{ packages }}"
        state: present
      vars:
        packages:
        - python3-setuptools
        - python3-gi
        - gir1.2-gtk-3.0
        - libgtk-layer-shell-dev
        - python3-i3ipc
        - python3-build
        - python3-installer
        - python3-wheel


    - name: clone nwg-displays
      git:
        repo: "https://github.com/nwg-piotr/{{ item }}.git"
        dest: /tmp/{{ item }}
        update: false
      loop:
        - nwg-displays

    - name: install nwg-displays
      become: yes
      command: ./install.sh
      args:
        chdir: /tmp/nwg-displays
@nwg-piotr
Copy link
Owner

What do you expect me to do? I have nothing to do with Debian packaging.

@ronsmits
Copy link
Author

I am a fervent debian user and I wanted at least nwg-displays to be used. I posted this as a helpful hint for other people, You can remove or close this ticket if you dont like it ;)

@nwg-piotr
Copy link
Owner

nwg-piotr commented Aug 24, 2024

OK, let it stay where it is. We still have no Wiki here, alas. Thank you for contribution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants