2015-06-14 02:58:47 +02:00
|
|
|
---
|
2015-09-06 14:51:36 +02:00
|
|
|
- name: Preparazione pacchetti per compilazione RPM
|
|
|
|
yum: pkg="{{ item }}" state=present
|
|
|
|
with_items:
|
|
|
|
- '@Development tools'
|
|
|
|
- rpmdevtools
|
|
|
|
- yum-utils
|
|
|
|
- rpmlint
|
2016-01-12 22:03:15 +01:00
|
|
|
become: yes
|
2015-06-20 04:32:22 +02:00
|
|
|
|
|
|
|
- name: Aggiungo utente per compilazione pacchetti RPM
|
|
|
|
user:
|
|
|
|
name: makepkg
|
|
|
|
password: $6$rounds=100000$neTGJ5N7Nu5ogCTX$VmVgS9HRZcdczjiNNdQcZzFVQI/3AFwu6MNFOKxGhBRY4VcBOo6GTxhXr0K/jYVFTygjHWsr.teM6RmBzSnz.0
|
|
|
|
shell: /bin/bash
|
|
|
|
state: present
|
2016-01-12 22:03:15 +01:00
|
|
|
become: yes
|
2015-06-20 04:32:22 +02:00
|
|
|
|
|
|
|
- name: Copia della chiave pubblica
|
|
|
|
authorized_key:
|
|
|
|
user: makepkg
|
|
|
|
key: "{{ lookup('file', '/Users/syntaxerrormmm/.ssh/id_rsa.pub') }}"
|
|
|
|
state: present
|
2016-01-12 22:03:15 +01:00
|
|
|
become: yes
|
2015-06-20 04:32:22 +02:00
|
|
|
|
|
|
|
- name: Creazione directory per il build di RPM
|
|
|
|
shell: rpmdev-setuptree
|
2016-01-12 22:03:15 +01:00
|
|
|
become: yes
|
|
|
|
become_user: makepkg
|