~danielside/linuxae

3d857a312725e88141317873643de7a4e3506539 — Daniel 6 months ago 8770cc0 master v5.3
adapta a debian12
1 files changed, 28 insertions(+), 5 deletions(-)

M roles/autofirma/tasks/main.yml
M roles/autofirma/tasks/main.yml => roles/autofirma/tasks/main.yml +28 -5
@@ 19,6 19,12 @@
    - "libsqlite3-0"
    - "libsqlite3-dev"

- name: crear nss no presente debian bookworm
  file:
    path: "/usr/lib/{{ arch }}-linux-gnu/nss/"
    state: directory
  when: ansible_facts["lsb"]["codename"] == "bookworm"

- name: enlazar librería libnspr4.so 1
  file:
    src: "/usr/lib/{{ arch }}-linux-gnu/libnspr4.so"


@@ 26,7 32,7 @@
    state: link
  tags:
    - linklib
   

- name: enlazar librería libnspr4.so 2
  file:
    src: "/usr/lib/{{ arch }}-linux-gnu/libnspr4.so"


@@ 42,6 48,7 @@
    state: link
  tags:
    - linklib
  when: ansible_facts["lsb"]["codename"] != "bookworm"
   
- name: enlazar librería libsoftokn3.so 1
  file:


@@ 50,6 57,7 @@
    state: link
  tags:
    - linklib
  when: ansible_facts["lsb"]["codename"] != "bookworm"
    
- name: enlazar librería libsoftokn3.so 2
  file:


@@ 58,6 66,7 @@
    state: link
  tags:
    - linklib
  when: ansible_facts["lsb"]["codename"] != "bookworm"
    
- name: enlazar librería libplds4.so
  file:


@@ 66,6 75,7 @@
    state: link
  tags:
    - linklib
  when: ansible_facts["lsb"]["codename"] != "bookworm"
    
- name: enlazar librería libplc4.so
  file:


@@ 74,6 84,7 @@
    state: link
  tags:
    - linklib
  when: ansible_facts["lsb"]["codename"] != "bookworm"
   
- name: enlazar librería libsqlite3.so
  file:


@@ 82,6 93,7 @@
    state: link
  tags:
    - linklib
  when: ansible_facts["lsb"]["codename"] != "bookworm"
    
- name: enlazar librería libmozsqlite3.so
  file:


@@ 98,15 110,26 @@
    state: link
  tags:
    - linklib
  when: ansible_facts["lsb"]["codename"] != "bookworm"
    
- name: enlazar librería jss
- name: enlazar librería jss 4
  file:
    src: "/usr/share/java/jss4.jar"
    dest: "{{ java8_path }}/{{ java_lib_ext_path }}/jss4.jar"
    state: link
  tags:
    - linklib
   
  when: ansible_facts["lsb"]["codename"] != "bookworm"

- name: enlazar librería jss
  file:
    src: "/usr/share/java/jss.jar"
    dest: "{{ java8_path }}/{{ java_lib_ext_path }}/jss4.jar"
    state: link
  tags:
    - linklib
  when: ansible_facts["lsb"]["codename"] == "bookworm"

- name: enlazar librerías nss mozilla Debian
  file:
    src: "/usr/lib/{{ arch }}-linux-gnu/nss/{{ item }}"


@@ 124,7 147,7 @@
    - "libfreeblpriv3.so"
    - "libnssdbm3.chk"
    - "libsoftokn3.chk"
  when: ansible_facts["lsb"]["id"] in debian_family
  when: ansible_facts["lsb"]["id"] in debian_family and ansible_facts["lsb"]["codename"] != "bookworm"

- name: enlazar librerías nss mozilla Ubuntu
  file:


@@ 226,7 249,7 @@
    dest: "/home/{{ usuario }}/Escritorio/autofirma.desktop"
    owner: "{{ usuario }}"
    group: "{{ usuario }}"
    mode: "u+x"
    mode: "+x"
  tags:
    - autofirmainstalacion