Difference between revisions of "Update deprecated openssl library from source code"
Jump to navigation
Jump to search
(7 intermediate revisions by the same user not shown) | |||
Line 22: | Line 22: | ||
remote_src: yes | remote_src: yes | ||
− | - [[shell:]] cd /tmp/openssl-*/ && ./config && make && make test && make install | + | - [[shell:]] cd /tmp/openssl-*/ && ./config && make && make test && [[make install]] |
− | - [[shell:]] echo "/usr/local/lib64" > [[/etc/ld.so.conf.d/openssl.conf]] | + | - [[shell:]] echo "[[/usr/local/lib64]]" > [[/etc/ld.so.conf.d/openssl.conf]] |
- [[shell:]] [[ldconfig]] | - [[shell:]] [[ldconfig]] | ||
− | when: [[ | + | [[when: (Ansible)|when:]] [[ansible_distribution_major_version]] == '7' |
− | |||
− | |||
− | |||
== Related == | == Related == | ||
+ | * https://www.openssl.org/source/openssl-1.1.1w.tar.gz | ||
* https://www.openssl.org/source/openssl-3.0.7.tar.gz | * https://www.openssl.org/source/openssl-3.0.7.tar.gz | ||
* [[Openssl]] | * [[Openssl]] | ||
Line 44: | Line 42: | ||
* [[unarchive]] | * [[unarchive]] | ||
* [[when: (Ansible)|when:]] | * [[when: (Ansible)|when:]] | ||
+ | * [[openssl version]] | ||
== See also == | == See also == |
Latest revision as of 15:39, 5 February 2024
#!/usr/bin/env ansible-playbook - hosts: localhost #remote_user: YOUR_REMOTEUSER #become: yes #connection: ssh tasks: - name: Install and start as service sysstat for Ubuntu block: - package: name: - perl-IPC-Cmd - perl-Test-Harness - perl-Test-Simple - make state: present - ansible.builtin.unarchive: src: https://www.openssl.org/source/openssl-1.1.1v.tar.gz dest: /tmp/ remote_src: yes - shell: cd /tmp/openssl-*/ && ./config && make && make test && make install - shell: echo "/usr/local/lib64" > /etc/ld.so.conf.d/openssl.conf - shell: ldconfig when: ansible_distribution_major_version == '7'
Related[edit]
- https://www.openssl.org/source/openssl-1.1.1w.tar.gz
- https://www.openssl.org/source/openssl-3.0.7.tar.gz
- Openssl
get_url
- unarchive
- when:
- openssl version
See also[edit]
- Ansible: modules, plugins, Playbooks (examples)
ansible-playbook
,ansible-vault
,ansible-inventory
,ansible-config
, Ansible Tower, Ansible Galaxy (Roles) (ansible-galaxy
),ansible-cmdb
,gather facts
,ansible.cfg
,Ansible Molecule
, Ansible collections,register
,template
,--ask-pass
,--ask-become-pass
,remote_user:
,/etc/ansible/hosts
,ansible-doc
,ansible-lint
,.ansible/
,--forks
,--start-at-task
,changelog
,inventory
,Notify:
,ansible HOSTNAME -m ping
,gathering
,/usr/bin/ansible
,ansible -m ping
,ansible.builtin
,hosts: (Ansible)
,set fact:
,when:
,blockinfile:
,become method:
,include:
,git:
, AWX,ansible --help
, Tags, Ansible variables, versions
Advertising: