Skip to content
Snippets Groups Projects
Select Git revision
  • 7d54844d9fedaa367f3c7e20971bd09c0d4de459
  • master default protected
  • th/emacs-gtk
  • th/py3-pkg-user-scripts
4 results

main.yml

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    main.yml 725 B
    ---
    # file: roles/client/tasks/pyxtrlock.yml
    
    - name: ensure we got some virtualenv
      pip:
        virtualenv: /opt/pyxtrlock
        virtualenv_command: "virtualenv -p /usr/bin/python3"
        name: "{{ item }}"
      with_items:
        - simplepam
        - pyxdg
      tags: pyxtrlock
    
    - name: ensure we got a copy of pyxtrlock
      git:
        repo: git://github.com/leonnnn/pyxtrlock.git
        dest: /opt/pyxtrlock/pyxtrlock
        accept_hostkey: true
      tags: pyxtrlock
    
    - name: ensure there is no mouse symbol
      command: ../bin/python make_empty_lock.py
      args:
        chdir: /opt/pyxtrlock/pyxtrlock
      tags: pyxtrlock
    
    - name: ensure setup of pyxtrlock
      command: ../bin/python setup.py install
      args:
        chdir: /opt/pyxtrlock/pyxtrlock
      tags: pyxtrlock