- name: Transfer and execute a script to install python. hosts: bench_clients become: yes tasks: - name: install packages for development etc yum: name: - yum-utils - name: clean command: yum clean -y all - name: install repos yum: name: - https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm - https://centos7.iuscommunity.org/ius-release.rpm - name: update command: yum update -y - name: install python 3.6 yum: name: - python36u - python36u-pip - python36u-devel state: present - file: src: /usr/bin/python3.6 dest: /usr/bin/python3 mode: 0755 state: link - file: src: /usr/bin/pip3.6 dest: /usr/bin/pip3 mode: 0755 state: link - name: Pip install packages command: pip3.6 install p4python==2017.2.1615960 pyaml numpy pyzmq locustio mimesis
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#3 | 25529 | Robert Cowham |
Latest copy of files including docker compose setup. Merging //guest/robert_cowham/p4benchmark/pb/... to //guest/robert_cowham/p4benchmark/main/... |
||
#2 | 24745 | Robert Cowham | Use global vars in hosts file | ||
#1 | 24711 | Robert Cowham | Restructure and tidy up | ||
//guest/robert_cowham/p4benchmark/main/install_python.yml | |||||
#2 | 24686 | Robert Cowham | Getting it working - especially with Python3 | ||
#1 | 21767 | Robert Cowham | add latest stuff with analyse |